/* pages/task/index.wxss */

/* top-img */
.top-img {
    width: 100%;
    height: 392rpx;
    overflow: hidden;
}
image {
    width: 100%;
}
/* label */
.label {
    height: 118rpx;
    line-height: 118rpx;
    background-color: #ffffff;
    /* position: fixed; */
    width: 100%;
    z-index: 9;
    margin: 20rpx 0;
}
.label-option {
    height: 100%;
    box-sizing: border-box;
}
.label-option-label {
    font-size: 30rpx;
    height: auto;
    width: 25%;
    display: inline-block;
    text-align: center;
    color: rgba(133, 131, 143, 1);
}
.label-option-label > .label-option-label-text {
    line-height: 1;
    width: fit-content;
    left: 0;
    right: 0;
    margin: auto;
    position: relative;
    z-index: 9;
}
.label-option-label-btn-action {
    color: rgba(58, 57, 67, 1);
    font-weight: 600;
}
.label-option-label-action {
    background: rgba(255, 220, 141, 1);
    height: 50%;
    width: calc(100% + 10px);
    position: absolute;
    bottom: -3px;
    z-index: -1;
    left: -5px;
}

/* task */
.task {
    padding: 0 20rpx;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 20rpx;
}
.task-item {
    width: 100%;
    background: #ffffff;
    border-radius: 18rpx;
    padding: 32rpx;
    box-sizing: border-box;
    margin-top: 24rpx;
}
.task-item-title {
    height: 70rpx;
    padding-bottom: 30rpx;
    border-bottom: 2rpx solid #f6f6f8;
    box-sizing: border-box;
    position: relative;
}
.task-item-title-text {
    width: 70%;
    font-size: 32rpx;
    font-weight: 700;
    text-align: left;
    color: #3a3943;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.task-item-title-price {
    font-size: 24rpx;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    width: fit-content;
    background: #ff6839;
    border-radius: 20rpx;
    padding: 8rpx 20rpx;
    box-sizing: border-box;
    position: absolute;
    right: 0rpx;
    top: -30rpx;
    bottom: 0;
    margin: auto;
    height: fit-content;
}
.task-item-label {
    padding: 20rpx 0;
}
.task-item-label-item {
    display: inline-block;
    font-size: 26rpx;
    text-align: center;
    color: #7c7996;
    width: fit-content;
    padding: 10rpx;
    background: #f6f5fa;
    border-radius: 4rpx;
    margin-right: 20rpx;
}

.task-item-detail {
    width: 100%;
    font-size: 28rpx;
    text-align: left;
    color: #3a3943;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.task-item-count {
    width: 100%;
    height: 40rpx;
    background: #f6f5fa;
    border-radius: 22rpx;
    position: relative;
    margin-top: 20rpx;
}
.task-item-count-left {
    width: fit-content;
    height: fit-content;
    font-size: 24rpx;
    font-weight: 700;
    text-align: left;
    color: #ffffff;
    position: absolute;
    left: 20rpx;
    top: 0;
    bottom: 0;
    margin: auto;
}
.task-item-count-right {
    width: fit-content;
    height: fit-content;
    font-size: 24rpx;
    font-weight: 700;
    text-align: left;
    color: #7c7996;
    position: absolute;
    right: 20rpx;
    top: 0;
    bottom: 0;
    margin: auto;
}
.task-item-count-bac {
    width: 100%;
    height: 100%;
    background: linear-gradient(#fbc081 0, #f57b4a 100%);
    border-radius: 22rpx;
}
